Skip to content

fix: restore v5 rendering parity for video-message and hero#150

Merged
markdumay merged 2 commits into
mainfrom
fix/video-message-gutter
Jul 13, 2026
Merged

fix: restore v5 rendering parity for video-message and hero#150
markdumay merged 2 commits into
mainfrom
fix/video-message-gutter

Conversation

@markdumay

Copy link
Copy Markdown
Contributor

Visual-review fixes from the gethinode.com v6-generation validation session:

  • video-message: explicit gutter 0 suppresses the g-* class (the schema default 4 added vertical gaps between stacked messages)
  • hero: restore the local heading-width fallback (the engine-level width default is being suppressed in mod-utils; the unguarded sub would fail the build)

🤖 Generated with Claude Code

markdumay and others added 2 commits July 13, 2026 08:20
The v2.0.1 cleanup removed the empty-string gutter argument, which
under v6 lets the schema default (4) apply and adds a vertical
1.5rem gap between stacked messages. An explicit 0 passes validation
(range 0-5) while the partial's with-guard skips the g-* class,
reproducing the v1 rendering exactly.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
The horizontal image-column math relied on the argument engine
filling heading.width with the global default (8). That nested
default is suppressed at the type level (section titles and images
span their columns as in v5), so an omitted heading.width would
reach sub as nil and fail the build. A local fallback keeps the
documented behavior regardless of engine fills.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@markdumay markdumay merged commit 00cd2fd into main Jul 13, 2026
8 checks passed
@markdumay

Copy link
Copy Markdown
Contributor Author

🎉 This PR is included in version 2.0.2 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant